package utiliy

import (
	"github.com/ethereum/go-ethereum/ethclient"
)

func Connect (rawurl string)(*ethclient.Client, error){
	conn,err:=ethclient.Dial(rawurl)
	if err != nil {
		println("Failed to connect to the Ethereum client: %v", err)
		return nil, err
	}
	return conn, nil
}
